package com.example.financeapi.mapper;

import com.example.financeapi.entity.FSecuritiesCompany;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * 券商表(FSecuritiesCompany)表数据库访问层
 *
 * @author Alvin
 * @since 2020-04-20 02:08:45
 */
@Mapper
public interface FSecuritiesCompanyMapper {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    FSecuritiesCompany queryById(Integer id);

    /**
     * 获取证券列表
     * @param map
     * @return
     */
    List<FSecuritiesCompany> getSecuritiesCompanyList(Map<String,Object> map);

}